public class Rectangle {
    private int length;
    private int width;

    public Rectangle(int l, int w) {
        this.length = l;
        this.width = w;
    }

    public void setLength(int l) {
        this.length = l;
    }

    public void setWidth(int w) {
        this.width = w;
    }

    public int getArea(){
        return this.length*this.width;
    }
}
